package goods;

public class Way {
    protected String name;
    protected String quality;
    protected String dateManufacture;
    protected String manufacturer;
    protected int price;
    protected String expirationDate;

    public Way() {

    }

    public Way(String name, String quality,
               String dateManufacture, String manufacturer, int price, String expirationDate) {
        this.name = name;
        this.quality = quality;
        this.dateManufacture = dateManufacture;
        this.manufacturer = manufacturer;
        this.price = price;
        this.expirationDate = expirationDate;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getQuality() {
        return quality;
    }

    public void setQuality(String quality) {
        this.quality = quality;
    }

    public String getDateManufacture() {
        return dateManufacture;
    }

    public void setDateManufacture(String dateManufacture) {
        this.dateManufacture = dateManufacture;
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public String getExpirationDate() {
        return expirationDate;
    }

    public void setExpirationDate(String expirationDate) {
        this.expirationDate = expirationDate;
    }

    @Override
    public String toString() {
        return "goods{" +
                "name='" + name + '\'' +
                ", quality='" + quality + '\'' +
                ", dateManufacture='" + dateManufacture + '\'' +
                ", manufacturer='" + manufacturer + '\'' +
                ", price=" + price +
                ", expirationDate='" + expirationDate + '\'' +
                '}';
    }
}
